package cn.com.connext.scrm.service.mapper;

import cn.com.connext.scrm.domain.master.AnswerType;
import cn.com.connext.scrm.service.dto.JsonResult;
import cn.com.connext.scrm.web.rest.req.AnswerTypeQueryReq;
import cn.com.connext.scrm.web.rest.req.AnswerLikeCommentReq;
import cn.com.connext.scrm.web.rest.req.AnswerTypeUpdateReq;
import cn.com.connext.scrm.web.rest.resp.QueryAnswerTitleResp;
import org.springframework.data.domain.Page;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface AnswerTypeService {
    ResponseEntity<Boolean> saveAnswerType(AnswerType req);

    ResponseEntity<Boolean> updateAnswerType(AnswerTypeUpdateReq req);

    Page answerTypeList(AnswerTypeQueryReq req);

    ResponseEntity<Boolean> deleteAnswerType (String id);

    ResponseEntity<List<QueryAnswerTitleResp>> queryAnswerTypeTitle ();

    JsonResult likeComment(AnswerLikeCommentReq req);
}
